<style>
.orderby {padding-left: 5px;line-height: 30px;}
.orderby li{float: left;margin: 0px 3px -1px 0px;padding: 2px 5px;}
.orderby a{padding: 2px;}
.orderby .hover{background-color: #F80;color: #FFF;}
.orderby a:hover {text-decoration: none;background-color: #F80;color: #FFF;}
</style>
<ul class="orderby">
	<li><a <!--{if $orderby=='days'}-->class="hover" <!--{/if}-->href="plugin.php?id=dc_signin&action=ranklist&orderby=days">{lang dc_signin:orderbydays}</a></li>
	<li><a <!--{if $orderby=='monthdays'}-->class="hover" <!--{/if}-->href="plugin.php?id=dc_signin&action=ranklist&orderby=monthdays">{lang dc_signin:orderbymonthdays}</a></li>
	<li><a <!--{if $orderby=='credit'}-->class="hover" <!--{/if}-->href="plugin.php?id=dc_signin&action=ranklist&orderby=credit">{lang dc_signin:orderbycredit}</a></li>
</ul>
<table class="dt mtm" cellpadding="0" cellspacing="0">
<tbody><tr>
<th width="1%"></th>
<th width="20%">{lang dc_signin:username}</th>
<th width="15%">{lang dc_signin:ltotaldays}</th>
<th width="15%">{lang dc_signin:lmonthdays}</th>
<th width="19%">{lang dc_signin:nowgroup}</th>
<th width="15%">{lang dc_signin:totalcredit}[{$_G[setting][extcredits][$_G[cache][plugin][dc_signin][extcredit]][title]}]</th>
<th width="15%">{lang dc_signin:bcredit}</th>
</tr>
<!--{eval $i = 0;}-->
<!--{loop $qdlists $qd}-->
<tr<!--{if $i%2==1}--> class="alt"<!--{/if}-->>
<td></td>
<td><a href="home.php?mod=space&uid={$qd[uid]}" target="_blank">{$qd[username]}</a></td>
<td>{$qd[days]}</td>
<td>{$qd[monthdays]}</td>
<td>{$qddj[$qd[sgid]][grouptitle]}</td>
<td>{$qd[credit]}</td>
<td>{$qd[bcredit]}</td>
</tr>
<!--{eval $i++;}-->
<!--{/loop}-->
</tbody></table>
